<?php
include dirname(__FILE__) . '/../../../config/config.php';
$month = date('Y-m');
?>
<div class='card-caption'>
    <div class='cap-nav clearfix'>
        <a class='cap-nav-item' href='javascript:;' onclick="subTabSwitch(1);">订单发货</a>
        <a class='cap-nav-item' href='javascript:;' onclick="subTabSwitch(2);">全部订单</a>
        <a class='dlbtn' href='<?php echo $config->shoproot; ?>?/Csv/getOrderDatas/month=<?php echo $month;?>' target="_blank" title='导出某月代理结算数据'>
            导出数据
        </a>
    </div>
</div>
<div class="card-subtab" id="card2-subtab1" style='background: #eee;'>
    <div id="orderlist" class="clearfix"></div>
</div>
<div class="card-subtab" id="card2-subtab2"></div>